package cn.krui.project.bean.simpleshopsetting;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * createor: zc
 * email: zc8023zs@163.com
 * create_time: 2020/4/8 16:38:01
 */
@ApiModel(value = "qr_goods_issue", description = "商品问答")
@TableName(value = "qr_goods_issue")
public class goods_issue {
	@ApiModelProperty(value = "主键")
	@TableId(type = IdType.AUTO,value = "id")
	@NotNull(message = "主键不能为空")
	private Integer id;
	@ApiModelProperty(value = "问题")
	@TableField(value="question")
	private String question;
	@ApiModelProperty(value = "回答")
	@TableField(value="answer")
	private String answer;

 
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
 
	public String getQuestion() {
		return question;
	}
	public void setQuestion(String question) {
		this.question = question;
	}
 
	public String getAnswer() {
		return answer;
	}
	public void setAnswer(String answer) {
		this.answer = answer;
	}

}